export type ResType<T = any> = {
  code: string
  data: T
  msg: string
  [property: string]: any
}

export type PageDataType<T> = {
  list: T[]
  pageNum: number
  pageSize: number
  total: number
  [property: string]: any
}

export type RolesType = {
  code: string
  createTime?: string
  id?: number
  name: string
  sort: number
  status: number
  [property: string]: any
}
